package com.lagou.concurrent.demo;

public class Main {
    public static void main(String[] args) {
        Data data = new Data("mydata.txt", "hello");

        new SaverThread("saver", data).start();
        new ChangerThread("changer", data).start();

    }
}
